﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using FeedAntGame.Sprite;

namespace FeedAntGame.Control
{
    abstract class BaseControl
    {
        protected BaseSprite sprite;
        protected Game game;


        public Game Game
        {
            get { return game; }
        }
        /// <summary>
        /// Get sprite
        /// </summary>
        internal virtual BaseSprite Sprite
        {
            get { return sprite; }
        }
        

        public BaseControl(Game game)
        {
            this.game = game;
        }

        protected virtual void createInstance(Vector2 position) { }
    }
}
